package cn.da.shuai.cool.finance.service;

import cn.da.shuai.cool.finance.model.CoolBudgetControl;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ICoolBudgetControlService extends IService<CoolBudgetControl> {
    List<CoolBudgetControl> getActiveBudgetControls(Long departmentId, String category, Integer fiscalYear, Integer fiscalMonth);
    void applyBudgetControl(CoolBudgetControl budgetControl);
    void deactivateBudgetControl(Long budgetControlId);
}